package com.yuandian.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuandian.api.management.entity.ConfAgentIp;
import com.yuandian.management.vo.AgentIpPojo;

import java.util.List;

/**
 * Agent状态信息表-Service接口
 * @author zfsn
 * @date 2023-4-14
 */
public interface ConfAgentIpService extends IService<ConfAgentIp> {



	/**
	 * 根据ip更新AgentIp
	 *
	 * @param agentIp
	 * @return
	 */
	int updateByIpSelective(AgentIpPojo agentIp);



	/**
	 * 插入AgentIp
	 *
	 * @param agentIp
	 */
	public void insertAgentIp(AgentIpPojo agentIp);


	int countNormalAgentIp();

	/**
	 * 根据条件查询
	 *
	 * @param searchKey
	 * @return
	 */
	List<ConfAgentIp> queryList(String searchKey);
}